#include <bits/stdc++.h>
using namespace std;
int n;
int tot;
int r[100005];
int cnt[100005];
int mx=-1,mn=100005;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++){
        cin>>r[i];
        cnt[r[i]]++;
    }
    for(int i=1;i<=n;i++){
        mx=max(mx,cnt[i]);
    }
    cout<<mx<<endl;
    return 0;
}
